package com.iflysse.dto;

import javax.validation.constraints.NotEmpty;

//用于接收用户登录表单的参数
public class UserLoginDto {

	@NotEmpty(message = "用户名不能为空(可用学号、工号、邮箱登录)")
	private String userName;
	
	@NotEmpty(message = "密码不能为空")
	private String passWord;
	
	@NotEmpty(message = "验证码不能为空")
	private String code;
	
	@NotEmpty(message = "验证码识别码不能为空")
	private String codeId;

	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCodeId() {
		return codeId;
	}
	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}
}
